/**
 * Sample React Native App
 * https://github.com/facebook/react-native
 * @flow
 */

// import React, { Component } from 'react';
// import {
//   AppRegistry,
//   View
// } from 'react-native';

// import start from './start'

// AppRegistry.registerComponent('hew', () => start);


import { Navigation } from 'react-native-navigation';

import { registerScreens } from './app/screen';

registerScreens()

Navigation.startSingleScreenApp({
	screen: {
		screen: 'Helow',
		title: "首页",
		navigatorStyle: {},
		navigatorButtons: {}
	},
	drawer: {
		// // optional, add this if you want a side menu drawer in your app
		// left: {
		// 	// optional, define if you want a drawer from the left
		// 	screen: 'example.FirstSideMenu', // unique ID registered with Navigation.registerScreen
		// 	passProps: {}, // simple serializable object that will pass as props to all top screens (optional)
		// 	disableOpenGesture: false, // can the drawer be opened with a swipe instead of button (optional, Android only)
		// 	fixedWidth: 500 // a fixed width you want your left drawer to have (optional)
		// },
		// right: {
		// 	// optional, define if you want a drawer from the right
		// 	screen: 'example.SecondSideMenu', // unique ID registered with Navigation.registerScreen
		// 	passProps: {}, // simple serializable object that will pass as props to all top screens (optional)
		// 	disableOpenGesture: false, // can the drawer be opened with a swipe instead of button (optional, Android only)
		// 	fixedWidth: 500 // a fixed width you want your right drawer to have (optional)
		// },
		// style: {
		// 	// ( iOS only )
		// 	drawerShadow: true, // optional, add this if you want a side menu drawer shadow
		// 	contentOverlayColor: 'rgba(0,0,0,0.25)', // optional, add this if you want a overlay color when drawer is open
		// 	leftDrawerWidth: 50, // optional, add this if you want a define left drawer width (50=percent)
		// 	rightDrawerWidth: 50 // optional, add this if you want a define right drawer width (50=percent)
		// },
		// type: 'MMDrawer', // optional, iOS only, types: 'TheSideBar', 'MMDrawer' default: 'MMDrawer'
		// animationType: 'door', //optional, iOS only, for MMDrawer: 'door', 'parallax', 'slide', 'slide-and-scale'
		// // for TheSideBar: 'airbnb', 'facebook', 'luvocracy','wunder-list'
		// disableOpenGesture: false // optional, can the drawer, both right and left, be opened with a swipe instead of button
	},
	passProps: {}, // simple serializable object that will pass as props to all top screens (optional)
	animationType: 'slide-down' // optional, add transition animation to root change: 'none', 'slide-down', 'fade'
})